//
//  SYTabbarView.h

#import <UIKit/UIKit.h>
#import "SYTabbarItem.h"
@class SYTabbarView;
@protocol SYTabbarItemDelegate <NSObject>

-(void)switchMainByTabItem:(SYTabbarView*)SYTabbarView originalTab:(NSInteger)start destinationTab:(NSInteger)end;

@end

@interface SYTabbarView : UIView
{
    SYTabbarItem *selectedTabItem;
}


@property (nonatomic,strong)UIButton *exitBtn;


@property (nonatomic,strong)UIImageView *noticeIcon;


@property (nonatomic,weak) id<SYTabbarItemDelegate> dockDelegate;

//设置默认选中的界面  在设置代理之后调用之后
-(void)selectItem;
@end
